package com.zking.service;

import com.zking.dao.domain.SysRole;
import com.zking.dao.domain.SysRoleResources;

import java.util.List;
import java.util.Set;

public interface SysRoleService {
    Set<String> findRoleNameByUserId(int userId);

    boolean addAuthority(SysRoleResources roleResources);

    boolean deleteAuthority(SysRoleResources roleResources);

    List<SysRole> findRolesByUserId(Integer id);
}
